import request from '@/utils/request'

export function findList(data) {
    return request({
        url: '/api/file/list',
        method: 'post',
        data
    })
}

export function findById(data) {
    return request({
        url: '/api/file/findById',
        method: 'post',
        data
    })
}

export function create(data) {
    return request({
        url: '/api/file/create',
        method: 'post',
        data
    })
}

export function deleteById(data) {
    return request({
        url: '/api/file/delete',
        method: 'post',
        data
    })
}

export function update(data) {
    return request({
        url: '/api/file/update',
        method: 'post',
        data
    })
}
